package com.gao.domain;

public class User {
	private int uid;
	private String username;
	private String password;
	private String phoneNum;
	
	public User() {
		super();
	}
 
	public User(int uid) {
		super();
		this.uid = uid;
	}

	public User(String username, String password) {
		super();
		this.username = username;
		this.password = password;
	}

	public User(int uid, String username, String password, String phoneNum) {
		super();
		this.uid = uid;
		this.username = username;
		this.password = password;
		this.phoneNum = phoneNum;
	}

	public int getUid() {
		return uid;
	}

	public void setUid(int uid) {
		this.uid = uid;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPhoneNum() {
		return phoneNum;
	}

	public void setPhoneNum(String phoneNum) {
		this.phoneNum = phoneNum;
	}

	@Override
	public String toString() {
		return "User [uid=" + uid + ", username=" + username + ", password=" + password + ", phoneNum=" + phoneNum
				+ "]";
	}

	
	
	
	
	
}
